package com.deng.config;

import com.deng.model.Comments;
import com.deng.model.Paper;
import com.deng.model.User;

import java.util.List;

/**
 * @Author 邓小熙
 * @Date 2022/5/10 1:40
 * @Version 1.0
 */
public class AllAttriOfPaper {
    //    private int id;
//    private String title;
//    private String content;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private Timestamp create_time;
//    private int mark;
//    private String paper_image;
//
//    评论数
    private Paper paper;
    private int count;
    private String login_name;
    // 头像
    private String head;

    private String columnTitle;

    public List<Comments> commentsList ;

    public List<String> tags;

    private List<User> comments_UserMes;
    //    private String comments_email;
//
//    private String comments_content;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private Timestamp comments_time;


    @Override
    public String toString() {
        return "AllAttriOfPaper{" +
                "paper=" + paper +
                ", count=" + count +
                ", login_name='" + login_name + '\'' +
                ", head='" + head + '\'' +
                ", columnTitle='" + columnTitle + '\'' +
                ", commentsList=" + commentsList +
                ", tags=" + tags +
                ", comments_UserMes=" + comments_UserMes +
                '}';
    }

    public List<User> getComments_UserMes() {
        return comments_UserMes;
    }

    public void setComments_UserMes(List<User> comments_UserMes) {
        this.comments_UserMes = comments_UserMes;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public Paper getPaper() {
        return paper;
    }

    public void setPaper(Paper paper) {
        this.paper = paper;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getColumnTitle() {
        return columnTitle;
    }

    public void setColumnTitle(String columnTitle) {
        this.columnTitle = columnTitle;
    }

    public List<Comments> getComments(List<Comments> commentsList) {
        return commentsList;
    }

    public void setComments(List<Comments> comments) {
        this.commentsList = comments;
    }

}
